POV-Ray : Newsgroups : povray.beta-test : Isosurface CSG shadow problem : Isosurface CSG shadow problem Server Time
31 Jul 2024 00:34:51 EDT (-0400)
  Isosurface CSG shadow problem  
From: Slime
Date: 23 Sep 2001 13:38:01
Message: <3bae1df9$1@news.povray.org>
The isosurface in this scene has a plane cut out from it. The light source
is at the same location as the camera, so no shadows should be visible.
However, the isosurface seems to be showing shadows from the part of it that
has been off by the plane.

camera {
 location <0,0,-8>
 look_at .00001*y
}

light_source {
 <0,0,-8>
 rgb 1
}

#declare leopfunc = function {
 pigment {
  leopard
  scale 1/5
  warp {
   turbulence .3
   octaves 1
   lambda 2
   omega .8
  }
 }
}

intersection {
 isosurface {
  function {(abs(sqrt(x^2+y^2+z^2)-3)-.1) + leopfunc(x,y,z).red*.5}
  contained_by {
   sphere {0,5}
  }
  pigment {rgb 1}
 }

 plane {<1,1,-.5>,0} // reversing normal and using "difference" doesn't work
either
 pigment {rgb 1}
}

--
- Slime
[ http://www.teja.nu/slime/ ]
[ http://www.teja.nu/slime/images/ ]


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.